package com.yzf.enterprise.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取rpa配置
 *
 */
@Component
@ConfigurationProperties(prefix = "ods")
public class OdsConfig {
    /**
     * 用户id
     */
    private static String rpaSys;

    /**
     * rpa接口地址
     */
    private static String gatewayUrl;

    /**
     * rpa回调地址
     */
    private static String notifyUrl;

    /**
     * paas接口地址
     */
    private static String paasUrl;

    /**
     * paas回调地址
     */
    private static String passNotifyUrl;

    public static String getRpaSys() {
        return rpaSys;
    }

    public  void setRpaSys(String rpaSys) {
        OdsConfig.rpaSys = rpaSys;
    }


    public static String getGatewayUrl() {
        return gatewayUrl;
    }

    public  void setGatewayUrl(String gatewayUrl) {
        OdsConfig.gatewayUrl = gatewayUrl;
    }

    public static String getNotifyUrl() {
        return notifyUrl;
    }

    public  void setNotifyUrl(String notifyUrl) {
        OdsConfig.notifyUrl = notifyUrl;
    }

    public static String getPaasUrl() {
        return paasUrl;
    }

    public  void setPaasUrl(String paasUrl) {
        OdsConfig.paasUrl = paasUrl;
    }

    public static String getPassNotifyUrl() {
        return passNotifyUrl;
    }

    public  void setPassNotifyUrl(String passNotifyUrl) {
        OdsConfig.passNotifyUrl = passNotifyUrl;
    }
}
